import index from "./index";
export function getJobTitle(data) {
    return index({
        url: "/position/list",
        method: "POST",
        data
    })
}
export  function addJobTitle(data) {
return index(
    {
        url:"/position/add",
        method:"POST",
        data
    }
)
}
export  function updatejobTitle(data) {
    return index({
        url:"/position/update",
        method:"POST",
        data
    })
}
export  function  queryJobtitleProjectClassIfy(data) {
return index({
    url:"/api/projectFileClassify/searchPositionProjectClassifyAuthority",
    method:"POST",
    data
})
}
export function queryProjectClassify(data) {
return index({
    url:"/api/projectFileClassify/classifyList",
    method:"POST",
    data
})
}
export function addJobTitleRule(data) {
    return index({
        url:"/api/projectFileClassify/addUserProjectClassifyAuthority",
        method:"POST",
        type:"json",
        data
    })

}
export  function upload(data) {
   return index({
       data,
       method:"POST",
       type:"json",
       url:"/api/reimbursed/uploadFile"
   })
}